package com.lin.springbootinit.mapper;

import com.lin.springbootinit.model.entity.Generator;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【generator(代码生成器)】的数据库操作Mapper
* @createDate 2024-12-02 09:24:01
* @Entity com.lin.springbootinit.model.entity.Generator
*/
public interface GeneratorMapper extends BaseMapper<Generator> {

    /**
     * 查找数据库中已经被逻辑删除的Generator，直接用list方法查不出来
     * @return
     */
    @Select("select id,distPath from generator where isDelete = 1")
    List<Generator> listDeleteCosDir();


}




